<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>问答系统</title>
	{HD include file='../common/head.html'}
	<link rel="stylesheet" href="{HD $smarty.const.__PUBLIC__}/Css/member.css" />
<!-- top结束 -->
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
{HD include file='../common/left.html'}
<!-- 左侧结束 -->
		<div id='right'>
	
			<p class='title'>{HD $rank}的首页</p>

			<ul class='property'>
				<li>金币：<span>{HD $userInfo.point}</span></li>
				<li>经验值：<span>{HD $userInfo.exp}</span></li>
				<li>采纳率：<span>{HD $userInfo.ratio}%</span></li>
			</ul>
			<div class='list'>
				<p><span>{HD $rank}的提问 <b>(共{HD $userInfo.ask}条)</b></span><a href="{HD $smarty.const.__ROOT__}?c=member&m=my_ask&uid={HD $smarty.get.uid}">更多>></a></p>
				<table>
						{HD if !$my_ask}
						<tr height='140'>
							<td>你还没有进行过提问</td>
						</tr>
						{HD else}

						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>
						{HD foreach from=$my_ask key=k item=v}
						<tr>
							<td class='t1'>
								<a href="{HD $smarty.const.__ROOT__}?c=show&asid={HD $v.asid}">{HD $v.content}</a><span>[{HD $v.title}]</span>
							</td>
							<td>{HD $v.answer}</td>
							<td class='t3'>{HD $v.time}</td>
						</tr>
						{HD /foreach}
						{HD /if}
				</table>
			</div>
			<div class='list'>
				<p><span>{HD $rank}的回答 <b>(共{HD $userInfo.answer}条)</b></span><a href="{HD $smarty.const.__ROOT__}?c=member&m=my_answer&uid={HD $smarty.get.uid}">更多>></a></p>
				<table>
					{HD if !$my_answer}
					<tr height='140'>
						<td>你还没有进行过回答</td>
					</tr>
					{HD else}
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
					{HD foreach from=$my_answer key=k item=v}
					<tr>
						<td class='t1'>
							<a href="{HD $smarty.const.__ROOT__}?c=show&asid={HD $v.asid}">{HD $v.content}</a><span>[{HD $v.title}]</span>
						</td>
						<td>{HD $v.answer}</td>
						<td class='t3'>{HD $v.time|date_format:"%Y-%m-%d"}</td>
					</tr>
					{HD /foreach}
					{HD /if}

				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->

<!--------------------底部-------------------->
<!-- 底部 -->
	<div id='bottom'>
		<p>Copyright © 2013 Qihoo.Com All Rights Reserved 廖东廷</p>
		<p>京公安网备xxxxxxxxxxxx</p>
	</div>
<!--[if IE 6]>
    <script type="text/javascript" src="{HD $smarty.const.__PUBLIC__}/Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->